<?php /* Smarty version 2.6.26, created on 2018-07-25 14:04:17
         compiled from E:%5CWWW%5C40.125.208.171%5Cvweb/admin%5Ctemplates/member/edit.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
<div class="cnav"><a href="javascript:;" class="back">编辑<?php if ($_GET['shop'] == '1'): ?>商户<?php else: ?>用户<?php endif; ?></a></div> 
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>商家和用户的入口为统一入口，如不选取商家则不开通商家，选择开通商家，则会自动创建店铺。</p>
	</div> 
</div>
<div class="main"> 
	<form action="?m=member&a=edit_save" method="post"> 
		<?php if ($this->_tpl_vars['row']['uid']): ?><input type="hidden" name="uid" value="<?php echo $this->_tpl_vars['row']['uid']; ?>
" size="32"><?php endif; ?>
		<table width="100%" class="etable"> 
			<tr>
				<td width="100">手机账号：</td>
				<td><input type="text" value="<?php echo $this->_tpl_vars['row']['mobile']; ?>
" size="32" name="mobile"></td>
			</tr>
			<tr>
				<td>昵称：</td>
				<td><input type="text" name="nick" size="32" value="<?php echo $this->_tpl_vars['row']['nick']; ?>
"/></td>
			</tr> 
			<tr>
				<td>电子邮箱：</td>
				<td><input type="text" name="email" value="<?php echo $this->_tpl_vars['row']['email']; ?>
" size="32"></td>
			</tr>  
			<tr>
				<td>新密码：</td>
				<td><input type="password" name="password" size="32" value=""/><i>不填则不修改</i></td>
			</tr>
			<tr>
				<td>确认密码：</td>
				<td><input type="password" name="repasswd" size="32" value=""/><i>不填则不修改</i></td>
			</tr>
			<?php if ($_GET['shop'] == '1'): ?>
				<tr>
					<td width="100">创建店铺：</td>
					<td><label><input name="create_shop" type="radio" value="1" checked="checked"/>创建</label></td>
				</tr>
				<tr>
					<td width="100">店铺名称：</td>
					<td><input type="text" value="" size="32" name="spname"></td>
				</tr>
			<?php endif; ?>
			<tr>
				<td>状态：</td>
				<td>
					<label><input name="status" type="radio" value="1" <?php if ($this->_tpl_vars['row']['status'] == '1' || $this->_tpl_vars['row']['status'] == ''): ?>checked="checked"<?php endif; ?>/>开启</label> 
					<label><input name="status" type="radio" value="0" <?php if ($this->_tpl_vars['row']['status'] == '0'): ?>checked="checked"<?php endif; ?>/>冻结</label> 
				</td>
			</tr> 
			<tr>
				<td>&nbsp;</td>
				<td><input type="submit" name="submit"  value="确认"/></td>
			</tr> 
		</table> 
	</form>	
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>